package sctu.edu.java.year2016.team01.lishuai;

/**
 * Created by  on 2016/5/19.
 */
class A
{
    private int aa = 19;
    public int bb = 20;
    public void g()
    {
        int cc;
        cc = aa+bb;
        System.out.printf("cc=%d\n",cc);
        f();

    }
    private void f()
    {
        int max;
        if(aa<bb)
        {
            max = bb;
        }
        else
        {
            max = aa;
        }
        System.out.println("max="+max);
    }
}
public class Demo {
    public static void main(String[] args) {

        A aa = new A();
        aa.g();
        System.out.println("helloword");
    }
}
